<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>管理员登录界面</title>
	<link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"></head>
<body>
	<div class="container">
		<h1>登录注册测试</h1>
		<form action="http://192.168.31.112/eml/public/index.php/index/user/reg" method="POST">
			id:<input type="text" name="id"><br>
			psw:<input type="text" name="pwd"><br>
			<input type="submit" value="登录">
		</form>
		<h1>通讯录测试</h1>
		<form enctype="application/json" action="http://192.168.31.112/eml/public/index.php/index/user/addAddress" method="POST">
			user1:<input type="text" name="user1"><br>
			user2:<input type="text" name="user2"><br>
			data:<br>
				<input type="text" name="data[user1]" value="1"><br>
				<input type="text" name="data[user2]" value="2"><br>
				<input type="text" name="data[nickname]" value="李白"><br>
				<input type="text" name="data[isscreen]" value="1"><br>
				<input type="text" name="data[keyhead]" value="123"><br>
			<input type="submit" value="添加">
		</form>
		<h1>通讯录删除测试</h1>
		<form enctype="application/json" action="http://192.168.31.112/eml/public/index.php/index/user/delAddress" method="POST">
			user1:<input type="text" name="user1"><br>
			user2:<input type="text" name="user2"><br>
			<input type="submit" value="删除">
		</form>
		<h1>通讯录修改测试</h1>
		<form enctype="application/json" action="http://192.168.31.112/eml/public/index.php/index/user/updateAddress" method="POST">
			user1:<input type="text" name="user1"><br>
			user2:<input type="text" name="user2"><br>
			data:<br>
				<input type="text" name="data[0][user1]" value="1"><br>
				<input type="text" name="data[0][user2]" value="2"><br>
				<input type="text" name="data[0][nickname]" value="阿萨德"><br>
				<input type="text" name="data[0][isscreen]" value="0"><br>
				<input type="text" name="data[0][keyhead]" value="333"><br>
			<input type="submit" value="修改">
		</form>
	</div>

</body>
</html>